package topofstack.networkserverutils.fragments;

import topofstack.networkserverutils.MailServerDetails;
import android.content.Intent;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ListView;

public class EmailServerTest extends EmailServer{
	
	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		return super.onCreateView(inflater, container, savedInstanceState);
	}
	
	@Override
	public void onListItemClick(ListView l, View v, int position, long id) {
		Intent intent = new Intent(getActivity(), MailServerDetails.class);
		intent.putExtra(MailServerDetails.SERVER_NAME, 
				(String) getAdapter().getItem(position));
		
		startActivity(intent);
	}
}
